home *** CD-ROM | disk | FTP | other *** search
- on checkMe
- puppetSound("twink")
- set the visible of sprite 7 to 0
- set the visible of sprite 8 to 0
- set the visible of sprite 9 to 0
- set the visible of sprite (the clickOn - 3) to 1
- end
-
- on doQuestion
- global BOMBRATE
- set hasAnswer to EMPTY
- repeat with x = 7 to 9
- if the visible of sprite x then
- set hasAnswer to 1
- end if
- end repeat
- if hasAnswer = EMPTY then
- puppetSound("hooter")
- set the visible of sprite 18 to 1
- updateStage()
- startTimer()
- repeat while the timer < 60
- end repeat
- set the visible of sprite 18 to 0
- updateStage()
- exit
- end if
- set correctAnswer to item 2 of the name of member the memberNum of sprite 3 of castLib 4
- if the visible of sprite (correctAnswer + 6) then
- puppetSound("clapping")
- set the member of sprite 17 to "right"
- set MRate to the movieRate of sprite 54
- set BOMBRATE to max(1, MRate / 2)
- set the movieRate of sprite 54 to BOMBRATE
- setScore(20)
- else
- puppetSound("raspberry")
- set the member of sprite 17 to "wrong"
- set MRate to the movieRate of sprite 54
- set BOMBRATE to MRate * 2
- set the movieRate of sprite 54 to BOMBRATE
- end if
- set the movieRate of sprite 17 to 1
- set the visible of sprite 17 to 1
- startTimer()
- repeat while the timer < 130
- updateStage()
- end repeat
- set the movieRate of sprite 17 to 0
- set the movieTime of sprite 17 to 0
- returnToMainGame(the frameLabel)
- end
-